package com.aahackathon.tripme.model;

import android.content.Intent;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Renats on 10/24/2014.
 */
public class Trip implements Serializable {

    private String mOrigin;
    private String mDestination;
    private Date mOriginDeparture;
    private Date mDestinationArrival;
    private Date mDestinationDeparture;
    private Date mOriginArrival;
    private Integer mOutboundFlightNumber;
    private Integer mInboundFlightNumber;
    private Double mPrice;

    @Override
    public String toString() {
        return "From: " + mOrigin
                + " to " + mDestination
                + " for " + mPrice;
    }

    public void setOrigin(String mOrigin) {
        this.mOrigin = mOrigin;
    }

    public String getOrigin() {
        return mOrigin;
    }

    public void setDestination(String mDestination) {
        this.mDestination = mDestination;
    }

    public String getmDestination() {
        return mDestination;
    }

    public Date getOriginDeparture() {
        return mOriginDeparture;
    }

    public void setOriginDeparture(Date mOriginDeparture) {
        this.mOriginDeparture = mOriginDeparture;
    }

    public Date getDestinationArrival() {
        return mDestinationArrival;
    }

    public void setDestinationArrival(Date mDestinationArrival) {
        this.mDestinationArrival = mDestinationArrival;
    }

    public Date getDestinationDeparture() {
        return mDestinationDeparture;
    }

    public void setDestinationDeparture(Date mDestinationDeparture) {
        this.mDestinationDeparture = mDestinationDeparture;
    }

    public Date getOriginArrival() {
        return mOriginArrival;
    }

    public void setOriginArrival(Date mOriginArrival) {
        this.mOriginArrival = mOriginArrival;
    }

    public Integer getFlightNumber() {
        return mOutboundFlightNumber;
    }

    public void setFlightNumber(Integer mFlightNumber) {
        this.mOutboundFlightNumber = mFlightNumber;
    }

    public void setPrice(Double mPrice) {
        this.mPrice = mPrice;
    }

    public Integer getInboundFlightNumber() {
        return mInboundFlightNumber;
    }

    public void setInboundFlightNumber(Integer mInboundFlightNumber) {
        this.mInboundFlightNumber = mInboundFlightNumber;
    }
}
